#pragma once
#include<stdio.h>
#include<assert.h>
#include<stdlib.h>
#include<stdbool.h>
#include<string.h>
typedef int DataType;

typedef struct Heap
{
	DataType* a;
	int sz;
	int capacity;
}hp;

void HeapInit(hp* php);
void HeapPush(hp* php, DataType x);
void HeapDestory(hp* php);
void HeapPrint(hp* php);
void HeapPop(hp* php);
DataType HeapTop(hp* php);
